package com.drore.logapp.bean;

import java.io.Serializable;

/**
 * desc
 *
 * @author sixbing
 * @date 2018/12/11 11:21
 */

public class BaseBean <T> implements Serializable {
    /**
     * errCode : 8200
     * message : 操作成功
     * success : true
     */


    public T data;
    /**
     * status : 200
     * msg : OK
     * ok : null
     */
    public int errCode;
    public String message;
    public boolean success;
    private int status;
    private String msg;
    private Object ok;

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getOk() {
        return ok;
    }

    public void setOk(Object ok) {
        this.ok = ok;
    }

    public int getErrCode() {
        return errCode;
    }

    public void setErrCode(int errCode) {
        this.errCode = errCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }
}
